package service

import (
	"gin-epg/internal/app/entity"
	"gin-epg/internal/app/mapper"
)

/*
*
根据id查询ToolMulticastChannel
*/
func GetToolMulticastChannelById(id string) (toolMulticastChannel *entity.ToolMulticastChannel, err error) {
	toolMulticastChannel, err = mapper.GetToolMulticastChannelById(id)
	if err != nil {
		return nil, err
	}
	return toolMulticastChannel, nil
}
